package com.ruoyi.store.service;

import com.ruoyi.store.domain.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IStuExamDetailService {


    List<StuExamDetail> selectStuExamDetailList(StuExamDetail stuExamDetail);

    List<StuUserAnswer> selectStuHisPaperByUserId(Long userId, Long paperId);


    int addMark(StuHisExam stuHisExam);

    List<StuUserAnswer> selectStuHisPaper(Long userId, Long paperId);

    StuExamDetail selectStuExamDetailByUserIdPaperId(@Param(value = "userId") Long userId, @Param(value = "paperId") Long paperId);

    List<StuExamDetail> selectStuExamDetailListByUserId(Long userId);
}
